package com.esoft.guide;

import android.app.Activity;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.view.Window;

import com.esoft.guide.adapter.GuideAdapter;

public class GuideActivity extends Activity {
    private ViewPager mViewPager;

    private static final int[] IMGS = new int[]
            {R.mipmap.chao, R.mipmap.ai, R.mipmap.aic, R.mipmap.aica};

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_guide);

        mViewPager = (ViewPager) findViewById(R.id.pager_guide);
        mViewPager.setAdapter(new GuideAdapter(IMGS, this));
    }
}

